package cn.itsource.ymcc.mapper;

import cn.itsource.ymcc.domain.Teacher;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * <p>
 * 老师表 Mapper 接口
 * </p>
 *
 * @author gwk
 * @since 2023-02-24
 */
public interface TeacherMapper extends BaseMapper<Teacher> {

    List<Teacher> getTeachersByCourseId(@Param("courseId") Long courseId);

}
